const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer:{
    headers: {
      'Access-Control-Allow-Origin': '*',
    },
    allowedHosts: 'all',
    port:8070,
    hot: true
  },
  configureWebpack: {
    output: {
     
      library: 'child-vue3', // 必须与注册的应用名一致
      libraryTarget: 'umd',
      chunkLoadingGlobal: `webpackJsonp_child-vue3`
    },
  },
})
